package com.ldy.gen.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 店铺信息表
 * </p>
 *
 * @author ldy
 * @since 2023-09-29 15:02:29
 */
@Getter
@Setter
@TableName("store_info")
@ApiModel(value = "StoreInfo对象", description = "店铺信息表")
public class StoreInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("商户id")
    @TableField("bs_id")
    private Long bsId;

    @ApiModelProperty("店铺名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("关键词列表，各关键词使用英文的逗号分隔")
    @TableField("keywords")
    private String keywords;

    @ApiModelProperty("店铺地址")
    @TableField("address")
    private String address;

    @ApiModelProperty("城市")
    @TableField("city")
    private String city;

    @ApiModelProperty("国家")
    @TableField("country")
    private String country;

    @ApiModelProperty("省份")
    @TableField("province")
    private String province;

    @ApiModelProperty("店铺简介")
    @TableField("brief")
    private String brief;

    @ApiModelProperty("关注数")
    @TableField("follower_count")
    private Long followerCount;

    @ApiModelProperty("收藏数")
    @TableField("collection_count")
    private Long collectionCount;

    @ApiModelProperty("是否启用(店铺是否被封禁)，0表示禁用，1表示启用")
    @TableField("enabled")
    private Boolean enabled;

    @ApiModelProperty("数据创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("数据最后修改时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty("数据创建者")
    @TableField("creator")
    private String creator;

    @ApiModelProperty("数据更新者")
    @TableField("updater")
    private String updater;


}
